package com.hf.eagle.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hf.eagle.dao.RecruitmentInfoDao;
import com.hf.eagle.domain.RecruitmentInfo;
import com.hf.eagle.service.RecruitmentInfoService;

/**
 * @author Xu,XiaoYuan
 * @version 2011-09-17 23:43
 */
@Service
public class RecruitmentInfoServiceImpl implements RecruitmentInfoService {

	@Resource
	private RecruitmentInfoDao recruitmentInfoDao;
	

	public Long createRecruitmentInfo(RecruitmentInfo t) {
		return this.recruitmentInfoDao.insertEntity(t);
	}

	public RecruitmentInfo getRecruitmentInfo(RecruitmentInfo t) {
		return this.recruitmentInfoDao.selectEntity(t);
	}

	public Long getRecruitmentInfoCount(RecruitmentInfo t) {
		return this.recruitmentInfoDao.selectEntityCount(t);
	}

	public List<RecruitmentInfo> getRecruitmentInfoList(RecruitmentInfo t) {
		return this.recruitmentInfoDao.selectEntityList(t);
	}

	public int modifyRecruitmentInfo(RecruitmentInfo t) {
		return this.recruitmentInfoDao.updateEntity(t);
	}

	public int removeRecruitmentInfo(RecruitmentInfo t) {
		return this.recruitmentInfoDao.deleteEntity(t);
	}

	public List<RecruitmentInfo> getRecruitmentInfoPaginatedList(RecruitmentInfo t) {
		return this.recruitmentInfoDao.selectEntityPaginatedList(t);
	}

}
